﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IPCMessage
{
    /// <summary>
    /// 进程间通信客户端请求消息协议
    /// </summary>
    public class IPCRequestMessage
    {
        public string TID { get; set; }

        /// <summary>
        /// 命令请求方名称
        /// </summary>
        public string Sender { get; set; }

        /// <summary>
        /// 请求命令
        /// </summary>
        public RequestCommand Command { get; set; }

        /// <summary>
        /// 执行命令后返回的超时时间
        /// </summary>
        public int Timeout { get; set; }

        /// <summary>
        /// 请求执行命令需要的参数（JsonString）
        /// </summary>
        public string CmdParams { get; set; }   
    }
}
